package com.TTBook.core.book.dao;

import com.TTBook.core.book.model.BookStatus;
import com.TTBook.core.book.model.BookStatusCriteria;
import java.util.List;

public interface BookStatusDAO {
    int countByCriteria(BookStatusCriteria criteria);

    int deleteByCriteria(BookStatusCriteria criteria);

    int deleteByPrimaryKey(String bookid);

    void insert(BookStatus record);

    void insertSelective(BookStatus record);

    List selectByCriteria(BookStatusCriteria criteria);

    BookStatus selectByPrimaryKey(String bookid);

    int updateByCriteriaSelective(BookStatus record, BookStatusCriteria criteria);

    int updateByCriteria(BookStatus record, BookStatusCriteria example);

    int updateByPrimaryKeySelective(BookStatus record);

    int updateByPrimaryKey(BookStatus record);
}